package com.complaint.rest.service;

import com.complaint.rest.model.Complaint;

import java.util.List;

/**
 * Created by Alex
 */
public interface ComplaintService {
    Complaint addComplaint(Complaint complaint);
    void removeComplaint(Complaint complaint);
    Complaint updateComplaint(Complaint complaint);
    Complaint getComplaint(String id);
    List<Complaint> getComplaintsByUserId(String id);
    List<Complaint> listComplaints();
}
